using BookDownloader.Core.Implementation.BaseLibEngine.Parser;

namespace BookDownloader.Core.Implementation.Flibusta.Parser
{
	public class BooksParser : SqlParser<Book>
	{
		public BooksParser(ISqlStreamProvider sqlStreamProvider) : base(sqlStreamProvider)
		{
		}

		protected override string ParamsPattern
		{
			get
			{
				return @"(?<Id>\d+),[^,]*,[^,]*,'(?<Title>[^']*)','(?<TitleOriginal>[^']*)',.*";
			}
		}
	}
}